<nav class="navbar navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="/">superblog</a>
        </div>
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav">
                <li><a href="/discover"><span class="glyphicon glyphicon-list"></span>发现</a></li>
                <li><a href="/huati"><span class="glyphicon glyphicon-envelope"></span>话题</a></li>
            </ul>
            <a href="/login"><button type="button" class="btn btn-primary navbar-right">登陆</button></a>
            <a href="/reg"><button type="button" class="btn btn-success navbar-right">注册</button></a>
        </div>
    </div>
</nav>